/**
 * 基础路由
 * @type { *[] }
 */
import Layout from '@/layout/index.vue'

const constantRouterMap = [
    {
        path: '/',
        component: Layout,
        redirect: '/home',
        children: [
            {
                path: '/home',
                name: 'Home',
                meta: { title: '文件替换' },
                component: () => import('@/views/fileChange.vue')
            },
            {
                path: '/git',
                name: 'Git',
                meta: { title: '获取git文件' },
                component: () => import('@/views/gitPage.vue')
            },
            // {
            //     path: '/dayReport',
            //     name: 'DayReport',
            //     meta: { title: '定时日报' },
            //     component: () => import('@/views/dayReport.vue')
            // },
            {
                path: '/desensitization',
                name: 'Desensitization',
                meta: { title: '系统脱敏' },
                component: () => import('@/views/desensitization.vue')
            },
        ]
    },
]

export default constantRouterMap